package utils

import "golang.org/x/time/rate"

type limiterUtils struct {
}

// 限流器

func (limiterUtils) NewLimiter(r rate.Limit, bursts int) *rate.Limiter {
	return rate.NewLimiter(r, bursts)
}
